package com.kirayous.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kirayous.common.utils.PageUtils;
import com.kirayous.gulimall.product.entity.SpuInfoEntity;
import com.kirayous.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author KiraYous
 * @email 404465398@qq.com
 * @date 2021-08-19 05:51:25
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);


    /*
    * 商家上架
    * */
    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

